package jdk7;

/**
 * @author honway.liu
 * @date 2018/4/28 下午11:31
 * @email gm100861@gmail.com
 * @blog http://linuxsogood.org
 */
public class RPGGame {
    public static void main(String[] args) {
        Role swrodMan = new SwordsMan(1, "Jastin", 500);

        Role mangicMan = new MagicMan(1, "Monika", 100);


        swrodMan.fight();
        mangicMan.fight();
    }
}
